import { NextResponse } from 'next/server';
 
export async function GET(request: Request) {
  const { searchParams } = new URL(request.url);
  const id = searchParams.get('id');

  console.log(request.url);
  console.log(searchParams);
  console.log(id);

  return NextResponse.json({ 'Path Greeting': 'Hello, World!  /api/dpath/[path]/' });
}
